var order = require("../models/order");


getTotalMoney = function (order_sheet) {
    return new Promise ((resolve, reject) => {
        order.find({ //查找一条
            order_sheet:order_sheet,
        },(err,docs) => {
            if (err) reject(err)
            else resolve(docs)
        })
    })
}



module.exports = getTotalMoney;